Automatic Generation of Prime Factorization Algorithms Using Genetic Programming

نویسنده

  • David Michael Chan
چکیده

This paper describes the application of the principles of genetic programming to the field of prime factorization. Any prime factorization algorithm is given one integer and must generate a complete list of primes such that, when multiplied together in varying degrees, produces the original integer. Constructing even a limited factoring algorithm in GP turns out to be extremely challenging and potentially impossible. Introduction and Overview Deriving an algorithm which scales better than O(n) to numerically factor integers into its constituent prime factors has been a crucial problem in recent times. Most encryption schemes, including RSA, depend on the fact that it is compute-intensive to factor large numbers in order to obscure sensitive data. Solutions to this problem include resorting to highly parallelized compute environments such as quantum computing, DNA-based computations, or massivelyparallelized computing farms. On the surface, attempting to derive an algorithm to factor integers into prime constituents seems to be a problem well suited for genetic programming. The goal is well defined: the genetic programming process must evolve an algorithm which takes an integer i and outputs n prime integer factors, such that when the ∏ product of these factors is calculated, it returns the original integer i. The fitness cases are similarly well defined: an individual is considered to be fit when its outputs are all prime integers that, when multiplied together, produces the original integer i. Traditional primality tests, such as the Rabin-Miller Strong Pseudoprime Test, are well understood and can be efficiently calculated for numbers up to 3.4 x 1014 (Rabin 1980). Additional fitness cases to evaluate compute-expense may be added in order to evolve higher performance algorithms; however, first, it is important to determine whether GP is capable of evolving a simple factoring algorithm. Prime Factorization The Fundamental Theorem of Arithmetic (unique factorization theorem) states that any positive integer can be represented in exactly one way as a product of primes. Mathematicians such as Euler and Fermat used to factor primes without computers at an astounding rate. Ever since these feats, there has been speculation that there was once a secret method of factoring primes that has since been lost.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Dimensionality Reduction and Improving the Performance of Automatic Modulation Classification using Genetic Programming (RESEARCH NOTE)

This paper shows how we can make advantage of using genetic programming in selection of suitable features for automatic modulation recognition. Automatic modulation recognition is one of the essential components of modern receivers. In this regard, selection of suitable features may significantly affect the performance of the process. Simulations were conducted with 5db and 10db SNRs. Test and ...

متن کامل

Shuffled Frog-Leaping Programming for Solving Regression Problems

There are various automatic programming models inspired by evolutionary computation techniques. Due to the importance of devising an automatic mechanism to explore the complicated search space of mathematical problems where numerical methods fails, evolutionary computations are widely studied and applied to solve real world problems. One of the famous algorithm in optimization problem is shuffl...

متن کامل

Adaptive Protection Based on Intelligent Distribution Networks with the Help of Network Factorization in the Presence of Distributed Generation Resources

Factorizing a system is one of the best ways to make a system intelligent. Factorizing the protection system, providing the right connecting agents, and transmitting the information faster and more reliably can improve the performance of a protection system and maintain system reliability against distributed generation resources. This study presents a new method for coordinating network protect...

متن کامل

Optimizing Cost Function in Imperialist Competitive Algorithm for Path Coverage Problem in Software Testing

Search-based optimization methods have been used for software engineering activities such as software testing. In the field of software testing, search-based test data generation refers to application of meta-heuristic optimization methods to generate test data that cover the code space of a program. Automatic test data generation that can cover all the paths of software is known as a major cha...

متن کامل

خوشه‌بندی خودکار داده‌ها با بهره‌گیری از الگوریتم رقابت استعماری بهبودیافته

Imperialist Competitive Algorithm (ICA) is considered as a prime meta-heuristic algorithm to find the general optimal solution in optimization problems. This paper presents a use of ICA for automatic clustering of huge unlabeled data sets. By using proper structure for each of the chromosomes and the ICA, at run time, the suggested method (ACICA) finds the optimum number of clusters while optim...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002